Skip to content

fix: reject VK with log_circuit_size=0 in UltraKeccak verifier#22319

Merged
iakovenkos merged 2 commits intomerge-train/barretenbergfrom
claudebox/fix-keccak-log-circuit-size-oob
Apr 6, 2026
Merged

fix: reject VK with log_circuit_size=0 in UltraKeccak verifier#22319
iakovenkos merged 2 commits intomerge-train/barretenbergfrom
claudebox/fix-keccak-log-circuit-size-oob

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

@AztecBot AztecBot commented Apr 4, 2026

Summary

Fixes a memory-safety vulnerability in the native UltraKeccak non-ZK verifier where a malformed verification key with log_circuit_size = 0 causes an out-of-bounds write in get_dyadic_powers_of_challenge.

@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Apr 4, 2026
@ludamad ludamad marked this pull request as ready for review April 5, 2026 17:21
@iakovenkos iakovenkos merged commit 1391c49 into merge-train/barretenberg Apr 6, 2026
12 checks passed
@iakovenkos iakovenkos deleted the claudebox/fix-keccak-log-circuit-size-oob branch April 6, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants